/*
 * $Id: EngineConnector.java 136 2009-07-16 07:53:43Z donbeave $
 */

package labour.concept.engine.client;

import java.util.List;

import labour.concept.client.ConceptConnector;
import labour.concept.client.data.ObjectModel;
import labour.concept.client.data.ObjectsLoadResult;
import labour.concept.engine.client.data.EngineObjectModel;
import labour.concept.engine.client.data.SiteModel;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface EngineConnector extends ConceptConnector {

  public void loadSites(AsyncCallback<List<SiteModel>> callback);

  public void loadRootObjects(String siteId, AsyncCallback<ObjectsLoadResult<EngineObjectModel>> callback);

  public void loadObjectChildren(ObjectModel parent, AsyncCallback<ObjectsLoadResult<EngineObjectModel>> callback);

}
